﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BikeSystem.BLL
{
    public class CommonMessage
    {

        private string caption;
        private string code;
        private string message;
        private bool success;

        public CommonMessage() { }
        public CommonMessage(bool success, string code, string message)
        {
            this.caption = "Infor";
            this.code = code;
            this.message = message;
            this.success = success;

        }

        public string Caption
        {
            get { return caption; }
            set { caption = value; }
        }
        public string Code
        {
            get { return code; }
            set { code = value; }
        }
        public string Message
        {
            get { return message; }
            set { message = value; }
        }
        public bool Success
        {
            get { return success; }
            set { success = value; }
        }

    }
}
